package com.jsbb.dto.sys;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 角色新增DTO
 *
 * @author w
 * @date 2021-03-05
 */
@Data
public class SysRoleSaveDto {

    @NotEmpty
    @ApiModelProperty(value = "角色名称", required = true)
    private String roleName;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "菜单")
    private List<Long> menuId;
}
